package elcs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import elcs.member.model.MemberVO;

@Controller
public class MainViewContoller {

	@RequestMapping("/main.do")
	public String mainView()
	{
		System.out.println("mainView");
		
		return "home";
	}
	@RequestMapping("/loginview.do")
	public String loginView()
	{
		System.out.println("mainView");
		
		return "/WEB-INF/view/member/member_login";
	}
	@RequestMapping("/joinview.do")
	public String joinView()
	{
		System.out.println("joinView");
		
		return "register.member";
	}
	@RequestMapping("/sessionOut.do")
	public String sessionOut()
	{
		System.out.println("sessionOut");
		return "sessionout.member";
	}
	
	@RequestMapping("/aboutUs.do")
	public String aboutusView(){
		System.out.println("aboutusView");
		
		return "aboutus.aboutus";
	}
	
	
	
	

	
}
